package cn.sumpu.app.coolsk.domain;

import java.io.Serializable;
import java.util.Date;

public class Message implements Serializable {

	public Message(){ }
	
	public Message(String sender, String addressee, String content){
		this.sender = sender;
		this.addressee = addressee;
		this.content = content;
	}
	
	private static final long serialVersionUID = 53153135546367379L;
	
	private String id;
	private String sender;
	private String addressee;
	private String content;
	private Date gmtCreated;
	private Date gmtModified;
	
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getAddressee() {
		return addressee;
	}

	public void setAddressee(String addressee) {
		this.addressee = addressee;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getGmtCreated() {
		return gmtCreated;
	}

	public void setGmtCreated(Date gmtCreated) {
		this.gmtCreated = gmtCreated;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
	
}
